LEADTOOLS Medical (Leadtools.Dicom.Server.Admin assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SendMessage(String,Object[]) Method
See Also 
Leadtools.Dicom.Server.Admin Namespace > DicomService Class > SendMessage Method : SendMessage(String,Object[]) Method




Message
The name of the message to send.
data
The extra data to send along with the message.
Message
The name of the message to send.
data
The extra data to send along with the message.
Sends a message to the DICOM Service.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub SendMessage( _
   ByVal Message As String, _
   ByVal ParamArray data() As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomService
Dim Message As String
Dim data() As Object
 
instance.SendMessage(Message, data)
C# 
public void SendMessage( 
   string Message,
   params object[] data
)
Managed Extensions for C++ 
public: void SendMessage( 
   string* Message,
   params Object*[]* data
) 
C++/CLI 
public:
void SendMessage( 
   String^ Message,
   ... array<Object^>^ data
) 

Parameters

Message
The name of the message to send.
data
The extra data to send along with the message.

Example

For an example refer to InstallService

Remarks

The T:Message event will be generated when a response is received. The service needs to be running before it can accept messages.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Server.Admin requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features